const kissFontPlugin = require("kiss-font-plugin");

module.exports = {
  publicPath: './',
  productionSourceMap: false,
  // css: {
  //   extract: false
  // },
  // parallel: false,
  chainWebpack: (config) => {
    kissFontPlugin.utils.chainWebpack(config);
  },
  configureWebpack: {
    plugins: [
      new kissFontPlugin.Plugin(),
    ],
  },
  devServer: {
    proxy: {
      '/api/': {
        target: 'http://192.168.1.234:8080',
        pathRewrite: { '^/api': '/tarsier-dcv/dcv' },
      },
    },
  },
}
